package com.accesshollywood.grfxOrdering.core;

public class CoreTextSet {
	private int	idText	= -1;

	public synchronized int getIdText() {
		return idText;
	}

	public synchronized void setIdText(int idText) {
		this.idText = idText;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + idText;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CoreTextSet other = (CoreTextSet) obj;
		if (idText != other.idText)
			return false;
		return true;
	}
}
